//
//  BBuyNowShopDetailImageCycleView.h
//  DistributorAB
//
//  Created by LZY on 2019/10/9.
//  Copyright © 2019 主事丫环. All rights reserved.
//

// B级经销商 我要预订 配件详情轮播图view
#import <UIKit/UIKit.h>
@class BBuyNowShopDetailImageCycleView;

NS_ASSUME_NONNULL_BEGIN

@protocol BBuyNowShopDetailImageCycleViewDataSource <NSObject>
//轮播图个数
- (NSInteger)numberOfImagesForView:(BBuyNowShopDetailImageCycleView *)cycleView;
//轮播图填充
- (UIView *)cycleView:(BBuyNowShopDetailImageCycleView *)cycleView imageAtIndex:(NSInteger)index;
@end
@protocol BBuyNowShopDetailImageCycleViewDelegate <NSObject>
//轮播图点击事件
- (void)cycleView:(BBuyNowShopDetailImageCycleView *)cycleView didSelectedAtIndex:(NSInteger)index;
@end

@interface BBuyNowShopDetailImageCycleView : UIView
@property (nonatomic, weak) id <BBuyNowShopDetailImageCycleViewDataSource> dataSource;
@property (nonatomic, weak) id <BBuyNowShopDetailImageCycleViewDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame withTimerValue:(CGFloat)timerValue;
- (void)reloadData;
@end

NS_ASSUME_NONNULL_END
